package com.itheima.common;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

@Data
@ConfigurationProperties(prefix = "es")
public class EsProperties {
    private String host;    //ip地址
    private Integer port;   //端口号
    private String indexName = "hotel";
}
